<template>
  <div>
      <ul v-for="item of arr" :key="item.name">
          <li>{{item.tab}}</li>
          <li>{{item.name}}</li>
      </ul>
  </div>
</template>

<script>
export default {
    data() {
        return {
            arr: [
                {
                    tab:1,
                    name:'001'
                },{
                    tab:2,
                    name:'002'
                },{
                    tab:3,
                    name:'003'
                },{
                    tab:4,
                    name:'004'
                }
            ]
        }
    }

}
</script>

<style>

</style>